Ext.onReady(function() {

 
 	mapPanel=new GBIF.GeoSpatial.MapPanel(); 
    gridPanel=new GBIF.GeoSpatial.Grid(); 
	

    mainPanel = new Ext.Panel({
        renderTo: "mainpanel",
        layout: "border",
        height: 400,
        width: 920,
        items: [mapPanel, gridPanel]
    });
});


